package com.hksj.cbm.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.BorderStyle;
import org.apache.poi.ss.usermodel.HorizontalAlignment;
import org.apache.poi.ss.usermodel.VerticalAlignment;

/**
 * @author zengke
 * @version 1.0
 * @see DeviceModelExportVO
 * @since 2024/8/1 8:51
 */

@Data
@ColumnWidth(value = 18)
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER)
public class DeviceModelExportVO {

    /**
     * 设备模型名称
     */
    @ExcelProperty(value = "设备模型名称")

    @ContentStyle(wrapped = BooleanEnum.TRUE,horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER,
            borderLeft= BorderStyleEnum.THIN,borderRight= BorderStyleEnum.THIN,borderTop= BorderStyleEnum.THIN,borderBottom= BorderStyleEnum.THIN)
    private String deviceModelName;

    /**
     * 所属建筑空间
     */
    @ExcelProperty(value = "所属建筑空间")
    @ContentStyle(wrapped = BooleanEnum.TRUE,horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER,
            borderLeft= BorderStyleEnum.THIN,borderRight= BorderStyleEnum.THIN,borderTop= BorderStyleEnum.THIN,borderBottom= BorderStyleEnum.THIN)
    private String ofBuildingName;

    /**
     * 楼层科室
     */
    @ExcelProperty(value = "楼层科室")
    @ContentStyle(wrapped = BooleanEnum.TRUE,horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER,
            borderLeft= BorderStyleEnum.THIN,borderRight= BorderStyleEnum.THIN,borderTop= BorderStyleEnum.THIN,borderBottom= BorderStyleEnum.THIN)
    private String departmentName;

    /**
     * 模型类别
     */
    @ExcelProperty(value = "模型类别")
    @ContentStyle(wrapped = BooleanEnum.TRUE,horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER,
            borderLeft= BorderStyleEnum.THIN,borderRight= BorderStyleEnum.THIN,borderTop= BorderStyleEnum.THIN,borderBottom= BorderStyleEnum.THIN)
    private String modelCategory;

    /**
     * 模型/素材编码
     */
    @ExcelProperty(value = "模型/素材编码")
    @ContentStyle(wrapped = BooleanEnum.TRUE,horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER,
            borderLeft= BorderStyleEnum.THIN,borderRight= BorderStyleEnum.THIN,borderTop= BorderStyleEnum.THIN,borderBottom= BorderStyleEnum.THIN)
    private String modelCoding;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用")
    @ContentStyle(wrapped = BooleanEnum.TRUE,horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER,
            borderLeft= BorderStyleEnum.THIN,borderRight= BorderStyleEnum.THIN,borderTop= BorderStyleEnum.THIN,borderBottom= BorderStyleEnum.THIN)
    private String status;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    @ContentStyle(wrapped = BooleanEnum.TRUE,horizontalAlignment = HorizontalAlignmentEnum.CENTER,verticalAlignment = VerticalAlignmentEnum.CENTER,
            borderLeft= BorderStyleEnum.THIN,borderRight= BorderStyleEnum.THIN,borderTop= BorderStyleEnum.THIN,borderBottom= BorderStyleEnum.THIN)
    private String seq;
}
